Math.roundAwayFromZero Method

Rounds a value. Half values (i.e. when the fraction of value is 0.5) are rounded to the nearest number with greater magnitude.
 
 
Static This method is static.

Parameters

value

Type: Number

Return Value


Type: Number
The rounded value.